<template>
  <container id="app">
<!--    <tab :headers="['1','2']">-->
<!--      <template v-slot:0>-->
<!--        1-->
<!--      </template>-->
<!--      <template v-slot:1>-->
<!--        2-->
<!--      </template>-->
<!--    </tab>-->

<!--    <data-grid :columns="headers" :rows="rows">-->
<!--      <template v-slot:0="slotScope">-->
<!--        {{slotScope.info.value}}%-->
<!--      </template>-->
<!--    </data-grid>-->

    <my-count-to :data="34567"/>
  </container>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {
      headers: [
        {
          name: '111',
          field: 'field1',
          style: {
            width: '50%'
          }
        },
        {
          name: '222',
          field: 'field2',
          style: {
            width: '50%'
          }
        },
      ],
      rows:[
        {
          field1:'123',
          field2:'1234',
        },
        {
          field1:'123',
          field2:'1234',
        },
        {
          field1:'123',
          field2:'1234',
        },
        {
          field1:'123',
          field2:'1234',
        },
        {
          field1:'123',
          field2:'1234',
        },
        {
          field1:'123',
          field2:'1234',
        },
        {
          field1:'123',
          field2:'1234',
        },
        {
          field1:'123',
          field2:'1234',
        },
      ]
    }
  }
}
</script>

<style>
html, body, #app {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #222;
  color: #fff;
}
</style>
